# flask初始化的配置在这里填写
class Config:
    # mysql + pymysql://user:password@hostio:port/Database_name
    SQLALCHEMY_DATABASE_URI = 'sqlite:///db.sqlite'
    # ////绝对路径;///相对路径;
    # SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://devtest:Jmj3GmhmERCAYZyb@39.103.133.210:3306/devtest'
    JSON_AS_ASCII = False
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_ECHO = True


class DevConfig(Config):
    # 环境： production / development / testing
    ENV = 'development'
    DEBUG = True


class ProConfig(Config):
    ENV = 'production'
    DEBUG = False